cmake_minimum_required(VERSION 3.4)
project(DX11_Study_tut05)

# Boost Type Index 示例

add_executable(dx11s2tut05
    cameraclass.cpp
    cameraclass.h
    d3dclass.cpp
    d3dclass.h
    graphicsclass.cpp
    graphicsclass.h
    inputclass.cpp
    inputclass.h
    main.cpp
    modelclass.cpp
    modelclass.h
    stdafx.cpp
    stdafx.h
    systemclass.cpp
    systemclass.h
    textureclass.cpp
    textureclass.h
    textureshaderclass.cpp
    textureshaderclass.h
)
target_include_directories(dx11s2tut05 PUBLIC
    "C:/Program Files (x86)/Visual Leak Detector/include"
)
set_target_properties(dx11s2tut05
    PROPERTIES COMPILE_FLAGS "-Yu -FIstdafx.h"
)
set_source_files_properties(stdafx.cpp
    COMPILE_FLAGS -Yc
)
set_target_properties(dx11s2tut05 PROPERTIES
    COMPILE_DEFINITIONS _UNICODE
    LINK_FLAGS /SUBSYSTEM:WINDOWS
)
